<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册页面</title>
<link rel="stylesheet" type="text/css"
	href="/CdutPostBar/css/userinfostyle.css">
</head>
<body>
<form id="reqestform" action="${pageContext.request.contextPath}/user/regest.action">
	<table>
	<tr><td colspan="2">${message }</td></tr>
		<tr>
			<td><label>账号：</label></td>
			<td><input type="text" name="account"></input></td>
		</tr>
		<tr>
			<td><label>姓名：</label></td>
			<td><input type="text" name="name"></input></td>
		</tr>
		<tr>
			<td><label>密码：</label></td>
			<td><input type="text" id="password" name="password"></input></td>
		</tr>
		<tr>
			<td><label>确认密码：</label></td>
			<td><input type="text" id="repassword"></input></td>
		</tr>
		<tr>
			<td><label>用户类型：</label></td>
			<td><input type="radio" name="type" value="t">教师</input> <input
				type="radio" name="type" value="s">学生</input></td>
		</tr>
		<tr>
			<td><label>验证码：</label></td>
			<td><img name="chackCode" id="checkImage" onclick="change()"
				src="${pageContext.request.contextPath}/main/randomcode"
				align="absbottom" alt="验证码" title="点击更换验证码" /><a id="changeCheck"
				href="#"
				onClick="javascript:document.getElementById('checkImage').src='${pageContext.request.contextPath}/main/randomcode?id='+Math.random();return false;">换一张？</a><input
				type="text" name="chackCode"></input></td>
		</tr>
		<tr><td colspan="2"><input type="submit" value="注册"></td></tr>
	</table>
	</form>
</body>
</html>